
/***************************************************************************
 *   Copyright (C) 2008 by joker   *
 *   joker@arcturus.pet.cyric.tohoku.ac.jp   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef PALETTE_H
#define PALETTE_H
int const ncol=256;
int const npalmax=12;
struct t_pal{
  unsigned char r,g,b;
};
t_pal const mypalette[12][256]={
// 1 gray
{
{  0,  0,  0},
{  1,  1,  1},
{  2,  2,  2},
{  3,  3,  3},
{  4,  4,  4},
{  5,  5,  5},
{  6,  6,  6},
{  7,  7,  7},
{  8,  8,  8},
{  9,  9,  9},
{ 10, 10, 10},
{ 11, 11, 11},
{ 12, 12, 12},
{ 13, 13, 13},
{ 14, 14, 14},
{ 15, 15, 15},
{ 16, 16, 16},
{ 17, 17, 17},
{ 18, 18, 18},
{ 19, 19, 19},
{ 20, 20, 20},
{ 21, 21, 21},
{ 22, 22, 22},
{ 23, 23, 23},
{ 24, 24, 24},
{ 25, 25, 25},
{ 26, 26, 26},
{ 27, 27, 27},
{ 28, 28, 28},
{ 29, 29, 29},
{ 30, 30, 30},
{ 31, 31, 31},
{ 32, 32, 32},
{ 33, 33, 33},
{ 34, 34, 34},
{ 35, 35, 35},
{ 36, 36, 36},
{ 37, 37, 37},
{ 38, 38, 38},
{ 39, 39, 39},
{ 40, 40, 40},
{ 41, 41, 41},
{ 42, 42, 42},
{ 43, 43, 43},
{ 44, 44, 44},
{ 45, 45, 45},
{ 46, 46, 46},
{ 47, 47, 47},
{ 48, 48, 48},
{ 49, 49, 49},
{ 50, 50, 50},
{ 51, 51, 51},
{ 52, 52, 52},
{ 53, 53, 53},
{ 54, 54, 54},
{ 55, 55, 55},
{ 56, 56, 56},
{ 57, 57, 57},
{ 58, 58, 58},
{ 59, 59, 59},
{ 60, 60, 60},
{ 61, 61, 61},
{ 62, 62, 62},
{ 63, 63, 63},
{ 64, 64, 64},
{ 65, 65, 65},
{ 66, 66, 66},
{ 67, 67, 67},
{ 68, 68, 68},
{ 69, 69, 69},
{ 70, 70, 70},
{ 71, 71, 71},
{ 72, 72, 72},
{ 73, 73, 73},
{ 74, 74, 74},
{ 75, 75, 75},
{ 76, 76, 76},
{ 77, 77, 77},
{ 78, 78, 78},
{ 79, 79, 79},
{ 80, 80, 80},
{ 81, 81, 81},
{ 82, 82, 82},
{ 83, 83, 83},
{ 84, 84, 84},
{ 85, 85, 85},
{ 86, 86, 86},
{ 87, 87, 87},
{ 88, 88, 88},
{ 89, 89, 89},
{ 90, 90, 90},
{ 91, 91, 91},
{ 92, 92, 92},
{ 93, 93, 93},
{ 94, 94, 94},
{ 95, 95, 95},
{ 96, 96, 96},
{ 97, 97, 97},
{ 98, 98, 98},
{ 99, 99, 99},
{100,100,100},
{101,101,101},
{102,102,102},
{103,103,103},
{104,104,104},
{105,105,105},
{106,106,106},
{107,107,107},
{108,108,108},
{109,109,109},
{110,110,110},
{111,111,111},
{112,112,112},
{113,113,113},
{114,114,114},
{115,115,115},
{116,116,116},
{117,117,117},
{118,118,118},
{119,119,119},
{120,120,120},
{121,121,121},
{122,122,122},
{123,123,123},
{124,124,124},
{125,125,125},
{126,126,126},
{127,127,127},
{128,128,128},
{129,129,129},
{130,130,130},
{131,131,131},
{132,132,132},
{133,133,133},
{134,134,134},
{135,135,135},
{136,136,136},
{137,137,137},
{138,138,138},
{139,139,139},
{140,140,140},
{141,141,141},
{142,142,142},
{143,143,143},
{144,144,144},
{145,145,145},
{146,146,146},
{147,147,147},
{148,148,148},
{149,149,149},
{150,150,150},
{151,151,151},
{152,152,152},
{153,153,153},
{154,154,154},
{155,155,155},
{156,156,156},
{157,157,157},
{158,158,158},
{159,159,159},
{160,160,160},
{161,161,161},
{162,162,162},
{163,163,163},
{164,164,164},
{165,165,165},
{166,166,166},
{167,167,167},
{168,168,168},
{169,169,169},
{170,170,170},
{171,171,171},
{172,172,172},
{173,173,173},
{174,174,174},
{175,175,175},
{176,176,176},
{177,177,177},
{178,178,178},
{179,179,179},
{180,180,180},
{181,181,181},
{182,182,182},
{183,183,183},
{184,184,184},
{185,185,185},
{186,186,186},
{187,187,187},
{188,188,188},
{189,189,189},
{190,190,190},
{191,191,191},
{192,192,192},
{193,193,193},
{194,194,194},
{195,195,195},
{196,196,196},
{197,197,197},
{198,198,198},
{199,199,199},
{200,200,200},
{201,201,201},
{202,202,202},
{203,203,203},
{204,204,204},
{205,205,205},
{206,206,206},
{207,207,207},
{208,208,208},
{209,209,209},
{210,210,210},
{211,211,211},
{212,212,212},
{213,213,213},
{214,214,214},
{215,215,215},
{216,216,216},
{217,217,217},
{218,218,218},
{219,219,219},
{220,220,220},
{221,221,221},
{222,222,222},
{223,223,223},
{224,224,224},
{225,225,225},
{226,226,226},
{227,227,227},
{228,228,228},
{229,229,229},
{230,230,230},
{231,231,231},
{232,232,232},
{233,233,233},
{234,234,234},
{235,235,235},
{236,236,236},
{237,237,237},
{238,238,238},
{239,239,239},
{240,240,240},
{241,241,241},
{242,242,242},
{243,243,243},
{244,244,244},
{245,245,245},
{246,246,246},
{247,247,247},
{248,248,248},
{249,249,249},
{250,250,250},
{251,251,251},
{252,252,252},
{253,253,253},
{254,254,254},
{255,255,255}
},
// 2 gray inv
{
{255,255,255},
{254,254,254},
{253,253,253},
{252,252,252},
{251,251,251},
{250,250,250},
{249,249,249},
{248,248,248},
{247,247,247},
{246,246,246},
{245,245,245},
{244,244,244},
{243,243,243},
{242,242,242},
{241,241,241},
{240,240,240},
{239,239,239},
{238,238,238},
{237,237,237},
{236,236,236},
{235,235,235},
{234,234,234},
{233,233,233},
{232,232,232},
{231,231,231},
{230,230,230},
{229,229,229},
{228,228,228},
{227,227,227},
{226,226,226},
{225,225,225},
{224,224,224},
{223,223,223},
{222,222,222},
{221,221,221},
{220,220,220},
{219,219,219},
{218,218,218},
{217,217,217},
{216,216,216},
{215,215,215},
{214,214,214},
{213,213,213},
{212,212,212},
{211,211,211},
{210,210,210},
{209,209,209},
{208,208,208},
{207,207,207},
{206,206,206},
{205,205,205},
{204,204,204},
{203,203,203},
{202,202,202},
{201,201,201},
{200,200,200},
{199,199,199},
{198,198,198},
{197,197,197},
{196,196,196},
{195,195,195},
{194,194,194},
{193,193,193},
{192,192,192},
{191,191,191},
{190,190,190},
{189,189,189},
{188,188,188},
{187,187,187},
{186,186,186},
{185,185,185},
{184,184,184},
{183,183,183},
{182,182,182},
{181,181,181},
{180,180,180},
{179,179,179},
{178,178,178},
{177,177,177},
{176,176,176},
{175,175,175},
{174,174,174},
{173,173,173},
{172,172,172},
{171,171,171},
{170,170,170},
{169,169,169},
{168,168,168},
{167,167,167},
{166,166,166},
{165,165,165},
{164,164,164},
{163,163,163},
{162,162,162},
{161,161,161},
{160,160,160},
{159,159,159},
{158,158,158},
{157,157,157},
{156,156,156},
{155,155,155},
{154,154,154},
{153,153,153},
{152,152,152},
{151,151,151},
{150,150,150},
{149,149,149},
{148,148,148},
{147,147,147},
{146,146,146},
{145,145,145},
{144,144,144},
{143,143,143},
{142,142,142},
{141,141,141},
{140,140,140},
{139,139,139},
{138,138,138},
{137,137,137},
{136,136,136},
{135,135,135},
{134,134,134},
{133,133,133},
{132,132,132},
{131,131,131},
{130,130,130},
{129,129,129},
{128,128,128},
{127,127,127},
{126,126,126},
{125,125,125},
{124,124,124},
{123,123,123},
{122,122,122},
{121,121,121},
{120,120,120},
{119,119,119},
{118,118,118},
{117,117,117},
{116,116,116},
{115,115,115},
{114,114,114},
{113,113,113},
{112,112,112},
{111,111,111},
{110,110,110},
{109,109,109},
{108,108,108},
{107,107,107},
{106,106,106},
{105,105,105},
{104,104,104},
{103,103,103},
{102,102,102},
{101,101,101},
{100,100,100},
{ 99, 99, 99},
{ 98, 98, 98},
{ 97, 97, 97},
{ 96, 96, 96},
{ 95, 95, 95},
{ 94, 94, 94},
{ 93, 93, 93},
{ 92, 92, 92},
{ 91, 91, 91},
{ 90, 90, 90},
{ 89, 89, 89},
{ 88, 88, 88},
{ 87, 87, 87},
{ 86, 86, 86},
{ 85, 85, 85},
{ 84, 84, 84},
{ 83, 83, 83},
{ 82, 82, 82},
{ 81, 81, 81},
{ 80, 80, 80},
{ 79, 79, 79},
{ 78, 78, 78},
{ 77, 77, 77},
{ 76, 76, 76},
{ 75, 75, 75},
{ 74, 74, 74},
{ 73, 73, 73},
{ 72, 72, 72},
{ 71, 71, 71},
{ 70, 70, 70},
{ 69, 69, 69},
{ 68, 68, 68},
{ 67, 67, 67},
{ 66, 66, 66},
{ 65, 65, 65},
{ 64, 64, 64},
{ 63, 63, 63},
{ 62, 62, 62},
{ 61, 61, 61},
{ 60, 60, 60},
{ 59, 59, 59},
{ 58, 58, 58},
{ 57, 57, 57},
{ 56, 56, 56},
{ 55, 55, 55},
{ 54, 54, 54},
{ 53, 53, 53},
{ 52, 52, 52},
{ 51, 51, 51},
{ 50, 50, 50},
{ 49, 49, 49},
{ 48, 48, 48},
{ 47, 47, 47},
{ 46, 46, 46},
{ 45, 45, 45},
{ 44, 44, 44},
{ 43, 43, 43},
{ 42, 42, 42},
{ 41, 41, 41},
{ 40, 40, 40},
{ 39, 39, 39},
{ 38, 38, 38},
{ 37, 37, 37},
{ 36, 36, 36},
{ 35, 35, 35},
{ 34, 34, 34},
{ 33, 33, 33},
{ 32, 32, 32},
{ 31, 31, 31},
{ 30, 30, 30},
{ 29, 29, 29},
{ 28, 28, 28},
{ 27, 27, 27},
{ 26, 26, 26},
{ 25, 25, 25},
{ 24, 24, 24},
{ 23, 23, 23},
{ 22, 22, 22},
{ 21, 21, 21},
{ 20, 20, 20},
{ 19, 19, 19},
{ 18, 18, 18},
{ 17, 17, 17},
{ 16, 16, 16},
{ 15, 15, 15},
{ 14, 14, 14},
{ 13, 13, 13},
{ 12, 12, 12},
{ 11, 11, 11},
{ 10, 10, 10},
{  9,  9,  9},
{  8,  8,  8},
{  7,  7,  7},
{  6,  6,  6},
{  5,  5,  5},
{  4,  4,  4},
{  3,  3,  3},
{  2,  2,  2},
{  1,  1,  1},
{  0,  0,  0}
},
// rainbow
{
{0,  0,0},
{5,  0,14},
{10,  0,28},
{14,  0,43},
{19,  0,57},
{24,  0,71},
{29,  0,85},
{33,  0,99},
{38,  0,113},
{43,  0,128},
{48,  0,142},
{53,  0,156},
{57,  0,170},
{62,  0,184},
{67,  0,198},
{72,  0,213},
{76,  0,227},
{81,  0,241},
{86,  0,255},
{ 81,  0,255},
{ 77,  0,255},
{ 72,  0,255},
{ 67,  0,255},
{ 63,  0,255},
{ 58,  0,255},
{ 53,  0,255},
{ 49,  0,255},
{ 44,  0,255},
{ 39,  0,255},
{ 35,  0,255},
{ 30,  0,255},
{ 25,  0,255},
{ 21,  0,255},
{ 16,  0,255},
{ 11,  0,255},
{  7,  0,255},
{  2,  0,255},
{  0,  3,255},
{  0,  7,255},
{  0, 12,255},
{  0, 17,255},
{  0, 21,255},
{  0, 26,255},
{  0, 31,255},
{  0, 35,255},
{  0, 40,255},
{  0, 45,255},
{  0, 49,255},
{  0, 54,255},
{  0, 59,255},
{  0, 63,255},
{  0, 68,255},
{  0, 73,255},
{  0, 77,255},
{  0, 82,255},
{  0, 87,255},
{  0, 91,255},
{  0, 96,255},
{  0,101,255},
{  0,105,255},
{  0,110,255},
{  0,115,255},
{  0,119,255},
{  0,124,255},
{  0,129,255},
{  0,133,255},
{  0,138,255},
{  0,143,255},
{  0,147,255},
{  0,152,255},
{  0,157,255},
{  0,161,255},
{  0,166,255},
{  0,171,255},
{  0,175,255},
{  0,180,255},
{  0,185,255},
{  0,189,255},
{  0,194,255},
{  0,199,255},
{  0,203,255},
{  0,208,255},
{  0,213,255},
{  0,217,255},
{  0,222,255},
{  0,227,255},
{  0,231,255},
{  0,236,255},
{  0,241,255},
{  0,245,255},
{  0,250,255},
{  0,255,255},
{  0,255,251},
{  0,255,246},
{  0,255,241},
{  0,255,237},
{  0,255,232},
{  0,255,227},
{  0,255,223},
{  0,255,218},
{  0,255,213},
{  0,255,209},
{  0,255,204},
{  0,255,199},
{  0,255,195},
{  0,255,190},
{  0,255,185},
{  0,255,181},
{  0,255,176},
{  0,255,171},
{  0,255,167},
{  0,255,162},
{  0,255,157},
{  0,255,153},
{  0,255,148},
{  0,255,143},
{  0,255,139},
{  0,255,134},
{  0,255,129},
{  0,255,125},
{  0,255,120},
{  0,255,115},
{  0,255,111},
{  0,255,106},
{  0,255,101},
{  0,255, 97},
{  0,255, 92},
{  0,255, 87},
{  0,255, 83},
{  0,255, 78},
{  0,255, 73},
{  0,255, 69},
{  0,255, 64},
{  0,255, 59},
{  0,255, 55},
{  0,255, 50},
{  0,255, 45},
{  0,255, 41},
{  0,255, 36},
{  0,255, 31},
{  0,255, 27},
{  0,255, 22},
{  0,255, 17},
{  0,255, 13},
{  0,255,  8},
{  0,255,  3},
{  1,255,  0},
{  6,255,  0},
{ 11,255,  0},
{ 15,255,  0},
{ 20,255,  0},
{ 25,255,  0},
{ 29,255,  0},
{ 34,255,  0},
{ 39,255,  0},
{ 43,255,  0},
{ 48,255,  0},
{ 53,255,  0},
{ 57,255,  0},
{ 62,255,  0},
{ 67,255,  0},
{ 71,255,  0},
{ 76,255,  0},
{ 81,255,  0},
{ 85,255,  0},
{ 90,255,  0},
{ 95,255,  0},
{ 99,255,  0},
{104,255,  0},
{109,255,  0},
{113,255,  0},
{118,255,  0},
{123,255,  0},
{127,255,  0},
{132,255,  0},
{137,255,  0},
{141,255,  0},
{146,255,  0},
{151,255,  0},
{155,255,  0},
{160,255,  0},
{165,255,  0},
{169,255,  0},
{174,255,  0},
{179,255,  0},
{183,255,  0},
{188,255,  0},
{193,255,  0},
{197,255,  0},
{202,255,  0},
{207,255,  0},
{211,255,  0},
{216,255,  0},
{221,255,  0},
{225,255,  0},
{230,255,  0},
{235,255,  0},
{239,255,  0},
{244,255,  0},
{249,255,  0},
{253,255,  0},
{255,252,  0},
{255,247,  0},
{255,243,  0},
{255,238,  0},
{255,233,  0},
{255,229,  0},
{255,224,  0},
{255,219,  0},
{255,215,  0},
{255,210,  0},
{255,205,  0},
{255,201,  0},
{255,196,  0},
{255,191,  0},
{255,187,  0},
{255,182,  0},
{255,177,  0},
{255,173,  0},
{255,168,  0},
{255,163,  0},
{255,159,  0},
{255,154,  0},
{255,149,  0},
{255,145,  0},
{255,140,  0},
{255,135,  0},
{255,131,  0},
{255,126,  0},
{255,121,  0},
{255,117,  0},
{255,112,  0},
{255,107,  0},
{255,103,  0},
{255, 98,  0},
{255, 93,  0},
{255, 89,  0},
{255, 84,  0},
{255, 79,  0},
{255, 75,  0},
{255, 70,  0},
{255, 65,  0},
{255, 61,  0},
{255, 56,  0},
{255, 51,  0},
{255, 47,  0},
{255, 42,  0},
{255, 37,  0},
{255, 33,  0},
{255, 28,  0},
{255, 23,  0},
{255, 19,  0},
{255, 14,  0},
{255,  9,  0},
{255,  5,  0},
{255,  0,  0}
},
// rainbow inv
{
{255,255,255},
//{170,255,  0},
{174,255,  0},
{179,255,  0},
{183,255,  0},
{187,255,  0},
{192,255,  0},
{196,255,  0},
{200,255,  0},
{205,255,  0},
{209,255,  0},
{213,255,  0},
{218,255,  0},
{222,255,  0},
{226,255,  0},
{231,255,  0},
{235,255,  0},
{239,255,  0},
{244,255,  0},
{248,255,  0},
{252,255,  0},
{255,253,  0},
{255,249,  0},
{255,245,  0},
{255,240,  0},
{255,236,  0},
{255,232,  0},
{255,227,  0},
{255,223,  0},
{255,219,  0},
{255,214,  0},
{255,210,  0},
{255,206,  0},
{255,201,  0},
{255,197,  0},
{255,193,  0},
{255,188,  0},
{255,184,  0},
{255,180,  0},
{255,175,  0},
{255,171,  0},
{255,167,  0},
{255,162,  0},
{255,158,  0},
{255,154,  0},
{255,149,  0},
{255,145,  0},
{255,141,  0},
{255,136,  0},
{255,132,  0},
{255,128,  0},
{255,123,  0},
{255,119,  0},
{255,115,  0},
{255,110,  0},
{255,106,  0},
{255,102,  0},
{255, 97,  0},
{255, 93,  0},
{255, 89,  0},
{255, 84,  0},
{255, 80,  0},
{255, 76,  0},
{255, 71,  0},
{255, 67,  0},
{255, 63,  0},
{255, 58,  0},
{255, 54,  0},
{255, 50,  0},
{255, 45,  0},
{255, 41,  0},
{255, 37,  0},
{255, 32,  0},
{255, 28,  0},
{255, 24,  0},
{255, 19,  0},
{255, 15,  0},
{255, 11,  0},
{255,  6,  0},
{255,  2,  0},
{255,  0,  2},
{255,  0,  7},
{255,  0, 11},
{255,  0, 15},
{255,  0, 20},
{255,  0, 24},
{255,  0, 28},
{255,  0, 33},
{255,  0, 37},
{255,  0, 41},
{255,  0, 46},
{255,  0, 50},
{255,  0, 54},
{255,  0, 59},
{255,  0, 63},
{255,  0, 67},
{255,  0, 72},
{255,  0, 76},
{255,  0, 80},
{255,  0, 85},
{255,  0, 89},
{255,  0, 93},
{255,  0, 98},
{255,  0,102},
{255,  0,106},
{255,  0,111},
{255,  0,115},
{255,  0,119},
{255,  0,124},
{255,  0,128},
{255,  0,132},
{255,  0,137},
{255,  0,141},
{255,  0,145},
{255,  0,150},
{255,  0,154},
{255,  0,158},
{255,  0,163},
{255,  0,167},
{255,  0,171},
{255,  0,176},
{255,  0,180},
{255,  0,184},
{255,  0,189},
{255,  0,193},
{255,  0,197},
{255,  0,202},
{255,  0,206},
{255,  0,210},
{255,  0,215},
{255,  0,219},
{255,  0,223},
{255,  0,228},
{255,  0,232},
{255,  0,236},
{255,  0,241},
{255,  0,245},
{255,  0,249},
{255,  0,254},
{252,  0,255},
{248,  0,255},
{243,  0,255},
{239,  0,255},
{235,  0,255},
{230,  0,255},
{226,  0,255},
{222,  0,255},
{217,  0,255},
{213,  0,255},
{209,  0,255},
{204,  0,255},
{200,  0,255},
{196,  0,255},
{191,  0,255},
{187,  0,255},
{183,  0,255},
{178,  0,255},
{174,  0,255},
{170,  0,255},
{165,  0,255},
{161,  0,255},
{157,  0,255},
{152,  0,255},
{148,  0,255},
{144,  0,255},
{139,  0,255},
{135,  0,255},
{131,  0,255},
{126,  0,255},
{122,  0,255},
{118,  0,255},
{113,  0,255},
{109,  0,255},
{105,  0,255},
{100,  0,255},
{ 96,  0,255},
{ 92,  0,255},
{ 87,  0,255},
{ 83,  0,255},
{ 79,  0,255},
{ 74,  0,255},
{ 70,  0,255},
{ 66,  0,255},
{ 61,  0,255},
{ 57,  0,255},
{ 53,  0,255},
{ 48,  0,255},
{ 44,  0,255},
{ 40,  0,255},
{ 35,  0,255},
{ 31,  0,255},
{ 27,  0,255},
{ 22,  0,255},
{ 18,  0,255},
{ 14,  0,255},
{  9,  0,255},
{  5,  0,255},
{  1,  0,255},
{  0,  4,255},
{  0,  8,255},
{  0, 12,255},
{  0, 17,255},
{  0, 21,255},
{  0, 25,255},
{  0, 30,255},
{  0, 34,255},
{  0, 38,255},
{  0, 43,255},
{  0, 47,255},
{  0, 51,255},
{  0, 56,255},
{  0, 60,255},
{  0, 64,255},
{  0, 69,255},
{  0, 73,255},
{  0, 77,255},
{  0, 82,255},
{  0, 86,255},
{  0, 90,255},
{  0, 95,255},
{  0, 99,255},
{  0,103,255},
{  0,108,255},
{  0,112,255},
{  0,116,255},
{  0,121,255},
{  0,125,255},
{  0,129,255},
{  0,134,255},
{  0,138,255},
{  0,142,255},
{  0,147,255},
{  0,151,255},
{  0,155,255},
{  0,160,255},
{  0,164,255},
{  0,168,255},
{  0,173,255},
{  0,177,255},
{  0,181,255},
{  0,186,255},
{  0,190,255},
{  0,194,255},
{  0,199,255},
{  0,203,255},
{  0,207,255},
{  0,212,255},
{  0,216,255},
{  0,220,255},
{  0,225,255},
{  0,229,255},
{  0,233,255},
{  0,238,255},
{  0,242,255},
{  0,246,255},
{  0,251,255},
{  0,255,255}
},
// 3 hot
{
{  0,  0,  0},
{  2,  0,  0},
{  5,  0,  0},
{  8,  0,  0},
{ 10,  0,  0},
{ 13,  0,  0},
{ 16,  0,  0},
{ 18,  0,  0},
{ 21,  0,  0},
{ 24,  0,  0},
{ 26,  0,  0},
{ 29,  0,  0},
{ 32,  0,  0},
{ 34,  0,  0},
{ 37,  0,  0},
{ 40,  0,  0},
{ 42,  0,  0},
{ 45,  0,  0},
{ 48,  0,  0},
{ 50,  0,  0},
{ 53,  0,  0},
{ 56,  0,  0},
{ 58,  0,  0},
{ 61,  0,  0},
{ 64,  0,  0},
{ 66,  0,  0},
{ 69,  0,  0},
{ 72,  0,  0},
{ 74,  0,  0},
{ 77,  0,  0},
{ 80,  0,  0},
{ 82,  0,  0},
{ 85,  0,  0},
{ 88,  0,  0},
{ 90,  0,  0},
{ 93,  0,  0},
{ 96,  0,  0},
{ 98,  0,  0},
{101,  0,  0},
{104,  0,  0},
{106,  0,  0},
{109,  0,  0},
{112,  0,  0},
{114,  0,  0},
{117,  0,  0},
{120,  0,  0},
{122,  0,  0},
{125,  0,  0},
{128,  0,  0},
{130,  0,  0},
{133,  0,  0},
{136,  0,  0},
{138,  0,  0},
{141,  0,  0},
{144,  0,  0},
{146,  0,  0},
{149,  0,  0},
{152,  0,  0},
{154,  0,  0},
{157,  0,  0},
{160,  0,  0},
{162,  0,  0},
{165,  0,  0},
{168,  0,  0},
{170,  0,  0},
{173,  0,  0},
{176,  0,  0},
{178,  0,  0},
{181,  0,  0},
{184,  0,  0},
{186,  0,  0},
{189,  0,  0},
{192,  0,  0},
{194,  0,  0},
{197,  0,  0},
{200,  0,  0},
{202,  0,  0},
{205,  0,  0},
{208,  0,  0},
{210,  0,  0},
{213,  0,  0},
{216,  0,  0},
{218,  0,  0},
{221,  0,  0},
{224,  0,  0},
{226,  0,  0},
{229,  0,  0},
{232,  0,  0},
{234,  0,  0},
{237,  0,  0},
{240,  0,  0},
{242,  0,  0},
{245,  0,  0},
{248,  0,  0},
{250,  0,  0},
{253,  0,  0},
{255,  1,  0},
{255,  3,  0},
{255,  6,  0},
{255,  9,  0},
{255, 11,  0},
{255, 14,  0},
{255, 17,  0},
{255, 19,  0},
{255, 22,  0},
{255, 25,  0},
{255, 27,  0},
{255, 30,  0},
{255, 33,  0},
{255, 35,  0},
{255, 38,  0},
{255, 41,  0},
{255, 43,  0},
{255, 46,  0},
{255, 49,  0},
{255, 51,  0},
{255, 54,  0},
{255, 57,  0},
{255, 59,  0},
{255, 62,  0},
{255, 65,  0},
{255, 67,  0},
{255, 70,  0},
{255, 73,  0},
{255, 75,  0},
{255, 78,  0},
{255, 81,  0},
{255, 83,  0},
{255, 86,  0},
{255, 89,  0},
{255, 91,  0},
{255, 94,  0},
{255, 97,  0},
{255, 99,  0},
{255,102,  0},
{255,105,  0},
{255,107,  0},
{255,110,  0},
{255,113,  0},
{255,115,  0},
{255,118,  0},
{255,121,  0},
{255,123,  0},
{255,126,  0},
{255,129,  0},
{255,131,  0},
{255,134,  0},
{255,137,  0},
{255,139,  0},
{255,142,  0},
{255,145,  0},
{255,147,  0},
{255,150,  0},
{255,153,  0},
{255,155,  0},
{255,158,  0},
{255,161,  0},
{255,163,  0},
{255,166,  0},
{255,169,  0},
{255,171,  0},
{255,174,  0},
{255,177,  0},
{255,179,  0},
{255,182,  0},
{255,185,  0},
{255,187,  0},
{255,190,  0},
{255,193,  0},
{255,195,  0},
{255,198,  0},
{255,201,  0},
{255,203,  0},
{255,206,  0},
{255,209,  0},
{255,211,  0},
{255,214,  0},
{255,217,  0},
{255,219,  0},
{255,222,  0},
{255,225,  0},
{255,227,  0},
{255,230,  0},
{255,233,  0},
{255,235,  0},
{255,238,  0},
{255,241,  0},
{255,243,  0},
{255,246,  0},
{255,249,  0},
{255,251,  0},
{255,254,  0},
{255,255,  3},
{255,255,  7},
{255,255, 11},
{255,255, 15},
{255,255, 19},
{255,255, 23},
{255,255, 27},
{255,255, 31},
{255,255, 35},
{255,255, 39},
{255,255, 43},
{255,255, 47},
{255,255, 51},
{255,255, 55},
{255,255, 59},
{255,255, 63},
{255,255, 67},
{255,255, 71},
{255,255, 75},
{255,255, 79},
{255,255, 83},
{255,255, 87},
{255,255, 91},
{255,255, 95},
{255,255, 99},
{255,255,103},
{255,255,107},
{255,255,111},
{255,255,115},
{255,255,119},
{255,255,123},
{255,255,127},
{255,255,131},
{255,255,135},
{255,255,139},
{255,255,143},
{255,255,147},
{255,255,151},
{255,255,155},
{255,255,159},
{255,255,163},
{255,255,167},
{255,255,171},
{255,255,175},
{255,255,179},
{255,255,183},
{255,255,187},
{255,255,191},
{255,255,195},
{255,255,199},
{255,255,203},
{255,255,207},
{255,255,211},
{255,255,215},
{255,255,219},
{255,255,223},
{255,255,227},
{255,255,231},
{255,255,235},
{255,255,239},
{255,255,243},
{255,255,247},
{255,255,251},
{255,255,255}
},
// 4 hot inv
{
{255,255,255},
{253,255,255},
{250,255,255},
{247,255,255},
{245,255,255},
{242,255,255},
{239,255,255},
{237,255,255},
{234,255,255},
{231,255,255},
{229,255,255},
{226,255,255},
{223,255,255},
{221,255,255},
{218,255,255},
{215,255,255},
{213,255,255},
{210,255,255},
{207,255,255},
{205,255,255},
{202,255,255},
{199,255,255},
{197,255,255},
{194,255,255},
{191,255,255},
{189,255,255},
{186,255,255},
{183,255,255},
{181,255,255},
{178,255,255},
{175,255,255},
{173,255,255},
{170,255,255},
{167,255,255},
{165,255,255},
{162,255,255},
{159,255,255},
{157,255,255},
{154,255,255},
{151,255,255},
{149,255,255},
{146,255,255},
{143,255,255},
{141,255,255},
{138,255,255},
{135,255,255},
{133,255,255},
{130,255,255},
{127,255,255},
{125,255,255},
{122,255,255},
{119,255,255},
{117,255,255},
{114,255,255},
{111,255,255},
{109,255,255},
{106,255,255},
{103,255,255},
{101,255,255},
{ 98,255,255},
{ 95,255,255},
{ 93,255,255},
{ 90,255,255},
{ 87,255,255},
{ 85,255,255},
{ 82,255,255},
{ 79,255,255},
{ 77,255,255},
{ 74,255,255},
{ 71,255,255},
{ 69,255,255},
{ 66,255,255},
{ 63,255,255},
{ 61,255,255},
{ 58,255,255},
{ 55,255,255},
{ 53,255,255},
{ 50,255,255},
{ 47,255,255},
{ 45,255,255},
{ 42,255,255},
{ 39,255,255},
{ 37,255,255},
{ 34,255,255},
{ 31,255,255},
{ 29,255,255},
{ 26,255,255},
{ 23,255,255},
{ 21,255,255},
{ 18,255,255},
{ 15,255,255},
{ 13,255,255},
{ 10,255,255},
{  7,255,255},
{  5,255,255},
{  2,255,255},
{  0,254,255},
{  0,252,255},
{  0,249,255},
{  0,246,255},
{  0,244,255},
{  0,241,255},
{  0,238,255},
{  0,236,255},
{  0,233,255},
{  0,230,255},
{  0,228,255},
{  0,225,255},
{  0,222,255},
{  0,220,255},
{  0,217,255},
{  0,214,255},
{  0,212,255},
{  0,209,255},
{  0,206,255},
{  0,204,255},
{  0,201,255},
{  0,198,255},
{  0,196,255},
{  0,193,255},
{  0,190,255},
{  0,188,255},
{  0,185,255},
{  0,182,255},
{  0,180,255},
{  0,177,255},
{  0,174,255},
{  0,172,255},
{  0,169,255},
{  0,166,255},
{  0,164,255},
{  0,161,255},
{  0,158,255},
{  0,156,255},
{  0,153,255},
{  0,150,255},
{  0,148,255},
{  0,145,255},
{  0,142,255},
{  0,140,255},
{  0,137,255},
{  0,134,255},
{  0,132,255},
{  0,129,255},
{  0,126,255},
{  0,124,255},
{  0,121,255},
{  0,118,255},
{  0,116,255},
{  0,113,255},
{  0,110,255},
{  0,108,255},
{  0,105,255},
{  0,102,255},
{  0,100,255},
{  0, 97,255},
{  0, 94,255},
{  0, 92,255},
{  0, 89,255},
{  0, 86,255},
{  0, 84,255},
{  0, 81,255},
{  0, 78,255},
{  0, 76,255},
{  0, 73,255},
{  0, 70,255},
{  0, 68,255},
{  0, 65,255},
{  0, 62,255},
{  0, 60,255},
{  0, 57,255},
{  0, 54,255},
{  0, 52,255},
{  0, 49,255},
{  0, 46,255},
{  0, 44,255},
{  0, 41,255},
{  0, 38,255},
{  0, 36,255},
{  0, 33,255},
{  0, 30,255},
{  0, 28,255},
{  0, 25,255},
{  0, 22,255},
{  0, 20,255},
{  0, 17,255},
{  0, 14,255},
{  0, 12,255},
{  0,  9,255},
{  0,  6,255},
{  0,  4,255},
{  0,  1,255},
{  0,  0,252},
{  0,  0,248},
{  0,  0,244},
{  0,  0,240},
{  0,  0,236},
{  0,  0,232},
{  0,  0,228},
{  0,  0,224},
{  0,  0,220},
{  0,  0,216},
{  0,  0,212},
{  0,  0,208},
{  0,  0,204},
{  0,  0,200},
{  0,  0,196},
{  0,  0,192},
{  0,  0,188},
{  0,  0,184},
{  0,  0,180},
{  0,  0,176},
{  0,  0,172},
{  0,  0,168},
{  0,  0,164},
{  0,  0,160},
{  0,  0,156},
{  0,  0,152},
{  0,  0,148},
{  0,  0,144},
{  0,  0,140},
{  0,  0,136},
{  0,  0,132},
{  0,  0,128},
{  0,  0,124},
{  0,  0,120},
{  0,  0,116},
{  0,  0,112},
{  0,  0,108},
{  0,  0,104},
{  0,  0,100},
{  0,  0, 96},
{  0,  0, 92},
{  0,  0, 88},
{  0,  0, 84},
{  0,  0, 80},
{  0,  0, 76},
{  0,  0, 72},
{  0,  0, 68},
{  0,  0, 64},
{  0,  0, 60},
{  0,  0, 56},
{  0,  0, 52},
{  0,  0, 48},
{  0,  0, 44},
{  0,  0, 40},
{  0,  0, 36},
{  0,  0, 32},
{  0,  0, 28},
{  0,  0, 24},
{  0,  0, 20},
{  0,  0, 16},
{  0,  0, 12},
{  0,  0,  8},
{  0,  0,  4},
{  0,  0,  0}
},
// 5 copper
{
{  0,  0,  0},
{  1,  0,  0},
{  2,  1,  1},
{  3,  2,  1},
{  5,  3,  2},
{  6,  3,  2},
{  7,  4,  3},
{  8,  5,  3},
{ 10,  6,  4},
{ 11,  7,  4},
{ 12,  7,  5},
{ 13,  8,  5},
{ 15,  9,  6},
{ 16, 10,  6},
{ 17, 10,  7},
{ 18, 11,  7},
{ 20, 12,  8},
{ 21, 13,  8},
{ 22, 14,  9},
{ 23, 14,  9},
{ 25, 15, 10},
{ 26, 16, 10},
{ 27, 17, 11},
{ 28, 17, 11},
{ 30, 18, 12},
{ 31, 19, 12},
{ 32, 20, 13},
{ 33, 21, 13},
{ 35, 21, 14},
{ 36, 22, 14},
{ 37, 23, 15},
{ 38, 24, 15},
{ 40, 25, 16},
{ 41, 25, 16},
{ 42, 26, 17},
{ 43, 27, 17},
{ 45, 28, 18},
{ 46, 28, 18},
{ 47, 29, 19},
{ 48, 30, 19},
{ 50, 31, 20},
{ 51, 32, 20},
{ 52, 32, 21},
{ 53, 33, 21},
{ 55, 34, 22},
{ 56, 35, 22},
{ 57, 35, 23},
{ 58, 36, 23},
{ 60, 37, 24},
{ 61, 38, 24},
{ 62, 39, 25},
{ 64, 39, 25},
{ 65, 40, 26},
{ 66, 41, 26},
{ 67, 42, 27},
{ 69, 43, 27},
{ 70, 43, 28},
{ 71, 44, 28},
{ 72, 45, 29},
{ 74, 46, 29},
{ 75, 46, 30},
{ 76, 47, 30},
{ 77, 48, 31},
{ 79, 49, 31},
{ 80, 50, 32},
{ 81, 50, 32},
{ 82, 51, 33},
{ 84, 52, 33},
{ 85, 53, 34},
{ 86, 53, 34},
{ 87, 54, 35},
{ 89, 55, 35},
{ 90, 56, 36},
{ 91, 57, 36},
{ 92, 57, 37},
{ 94, 58, 37},
{ 95, 59, 38},
{ 96, 60, 38},
{ 97, 61, 39},
{ 99, 61, 39},
{100, 62, 40},
{101, 63, 40},
{102, 64, 41},
{104, 64, 41},
{105, 65, 42},
{106, 66, 42},
{107, 67, 43},
{109, 68, 43},
{110, 68, 44},
{111, 69, 44},
{112, 70, 45},
{114, 71, 45},
{115, 71, 46},
{116, 72, 46},
{117, 73, 47},
{119, 74, 47},
{120, 75, 48},
{121, 75, 48},
{122, 76, 49},
{124, 77, 49},
{125, 78, 50},
{126, 79, 50},
{128, 79, 51},
{129, 80, 51},
{130, 81, 52},
{131, 82, 52},
{133, 82, 53},
{134, 83, 53},
{135, 84, 54},
{136, 85, 54},
{138, 86, 55},
{139, 86, 55},
{140, 87, 56},
{141, 88, 56},
{143, 89, 57},
{144, 89, 57},
{145, 90, 58},
{146, 91, 58},
{148, 92, 59},
{149, 93, 59},
{150, 93, 60},
{151, 94, 60},
{153, 95, 61},
{154, 96, 61},
{155, 97, 62},
{156, 97, 62},
{158, 98, 63},
{159, 99, 63},
{160,100, 64},
{161,100, 64},
{163,101, 65},
{164,102, 65},
{165,103, 66},
{166,104, 66},
{168,104, 67},
{169,105, 67},
{170,106, 68},
{171,107, 68},
{173,107, 69},
{174,108, 69},
{175,109, 70},
{176,110, 70},
{178,111, 71},
{179,111, 71},
{180,112, 72},
{181,113, 72},
{183,114, 73},
{184,115, 73},
{185,115, 74},
{186,116, 74},
{188,117, 75},
{189,118, 75},
{190,118, 76},
{192,119, 76},
{193,120, 77},
{194,121, 77},
{195,122, 78},
{197,122, 78},
{198,123, 79},
{199,124, 79},
{200,125, 80},
{202,125, 80},
{203,126, 81},
{204,127, 81},
{205,128, 82},
{207,129, 82},
{208,129, 83},
{209,130, 83},
{210,131, 84},
{212,132, 84},
{213,133, 85},
{214,133, 85},
{215,134, 86},
{217,135, 86},
{218,136, 87},
{219,136, 87},
{220,137, 88},
{222,138, 88},
{223,139, 89},
{224,140, 89},
{225,140, 90},
{227,141, 90},
{228,142, 91},
{229,143, 91},
{230,143, 92},
{232,144, 92},
{233,145, 93},
{234,146, 93},
{235,147, 94},
{237,147, 94},
{238,148, 95},
{239,149, 95},
{240,150, 96},
{242,151, 96},
{243,151, 97},
{244,152, 97},
{245,153, 98},
{247,154, 98},
{248,154, 99},
{249,155, 99},
{250,156,100},
{252,157,100},
{253,158,101},
{254,158,101},
{255,159,102},
{255,160,102},
{255,161,103},
{255,162,103},
{255,162,104},
{255,163,104},
{255,164,105},
{255,165,105},
{255,165,106},
{255,166,106},
{255,167,107},
{255,168,107},
{255,169,108},
{255,169,108},
{255,170,109},
{255,171,109},
{255,172,110},
{255,173,110},
{255,173,111},
{255,174,111},
{255,175,112},
{255,176,112},
{255,177,113},
{255,177,113},
{255,178,114},
{255,179,114},
{255,180,115},
{255,181,115},
{255,181,116},
{255,182,116},
{255,183,117},
{255,184,117},
{255,184,118},
{255,185,118},
{255,186,119},
{255,187,119},
{255,188,120},
{255,188,120},
{255,189,121},
{255,190,121},
{255,191,122},
{255,192,122},
{255,192,123},
{255,193,123},
{255,194,124},
{255,195,124},
{255,196,125},
{255,196,125},
{255,197,126},
{255,198,126},
{255,199,127},
{255,200,128}
},
// 6 copper inv
{
{255,255,255},
{254,255,255},
{253,254,254},
{252,253,254},
{250,252,253},
{249,252,253},
{248,251,252},
{247,250,252},
{245,249,251},
{244,248,251},
{243,248,250},
{242,247,250},
{240,246,249},
{239,245,249},
{238,245,248},
{237,244,248},
{235,243,247},
{234,242,247},
{233,241,246},
{232,241,246},
{230,240,245},
{229,239,245},
{228,238,244},
{227,238,244},
{225,237,243},
{224,236,243},
{223,235,242},
{222,234,242},
{220,234,241},
{219,233,241},
{218,232,240},
{217,231,240},
{215,230,239},
{214,230,239},
{213,229,238},
{212,228,238},
{210,227,237},
{209,227,237},
{208,226,236},
{207,225,236},
{205,224,235},
{204,223,235},
{203,223,234},
{202,222,234},
{200,221,233},
{199,220,233},
{198,220,232},
{197,219,232},
{195,218,231},
{194,217,231},
{193,216,230},
{191,216,230},
{190,215,229},
{189,214,229},
{188,213,228},
{186,212,228},
{185,212,227},
{184,211,227},
{183,210,226},
{181,209,226},
{180,209,225},
{179,208,225},
{178,207,224},
{176,206,224},
{175,205,223},
{174,205,223},
{173,204,222},
{171,203,222},
{170,202,221},
{169,202,221},
{168,201,220},
{166,200,220},
{165,199,219},
{164,198,219},
{163,198,218},
{161,197,218},
{160,196,217},
{159,195,217},
{158,194,216},
{156,194,216},
{155,193,215},
{154,192,215},
{153,191,214},
{151,191,214},
{150,190,213},
{149,189,213},
{148,188,212},
{146,187,212},
{145,187,211},
{144,186,211},
{143,185,210},
{141,184,210},
{140,184,209},
{139,183,209},
{138,182,208},
{136,181,208},
{135,180,207},
{134,180,207},
{133,179,206},
{131,178,206},
{130,177,205},
{129,176,205},
{127,176,204},
{126,175,204},
{125,174,203},
{124,173,203},
{122,173,202},
{121,172,202},
{120,171,201},
{119,170,201},
{117,169,200},
{116,169,200},
{115,168,199},
{114,167,199},
{112,166,198},
{111,166,198},
{110,165,197},
{109,164,197},
{107,163,196},
{106,162,196},
{105,162,195},
{104,161,195},
{102,160,194},
{101,159,194},
{100,158,193},
{ 99,158,193},
{ 97,157,192},
{ 96,156,192},
{ 95,155,191},
{ 94,155,191},
{ 92,154,190},
{ 91,153,190},
{ 90,152,189},
{ 89,151,189},
{ 87,151,188},
{ 86,150,188},
{ 85,149,187},
{ 84,148,187},
{ 82,148,186},
{ 81,147,186},
{ 80,146,185},
{ 79,145,185},
{ 77,144,184},
{ 76,144,184},
{ 75,143,183},
{ 74,142,183},
{ 72,141,182},
{ 71,140,182},
{ 70,140,181},
{ 69,139,181},
{ 67,138,180},
{ 66,137,180},
{ 65,137,179},
{ 63,136,179},
{ 62,135,178},
{ 61,134,178},
{ 60,133,177},
{ 58,133,177},
{ 57,132,176},
{ 56,131,176},
{ 55,130,175},
{ 53,130,175},
{ 52,129,174},
{ 51,128,174},
{ 50,127,173},
{ 48,126,173},
{ 47,126,172},
{ 46,125,172},
{ 45,124,171},
{ 43,123,171},
{ 42,122,170},
{ 41,122,170},
{ 40,121,169},
{ 38,120,169},
{ 37,119,168},
{ 36,119,168},
{ 35,118,167},
{ 33,117,167},
{ 32,116,166},
{ 31,115,166},
{ 30,115,165},
{ 28,114,165},
{ 27,113,164},
{ 26,112,164},
{ 25,112,163},
{ 23,111,163},
{ 22,110,162},
{ 21,109,162},
{ 20,108,161},
{ 18,108,161},
{ 17,107,160},
{ 16,106,160},
{ 15,105,159},
{ 13,104,159},
{ 12,104,158},
{ 11,103,158},
{ 10,102,157},
{  8,101,157},
{  7,101,156},
{  6,100,156},
{  5, 99,155},
{  3, 98,155},
{  2, 97,154},
{  1, 97,154},
{  0, 96,153},
{  0, 95,153},
{  0, 94,152},
{  0, 93,152},
{  0, 93,151},
{  0, 92,151},
{  0, 91,150},
{  0, 90,150},
{  0, 90,149},
{  0, 89,149},
{  0, 88,148},
{  0, 87,148},
{  0, 86,147},
{  0, 86,147},
{  0, 85,146},
{  0, 84,146},
{  0, 83,145},
{  0, 82,145},
{  0, 82,144},
{  0, 81,144},
{  0, 80,143},
{  0, 79,143},
{  0, 78,142},
{  0, 78,142},
{  0, 77,141},
{  0, 76,141},
{  0, 75,140},
{  0, 74,140},
{  0, 74,139},
{  0, 73,139},
{  0, 72,138},
{  0, 71,138},
{  0, 71,137},
{  0, 70,137},
{  0, 69,136},
{  0, 68,136},
{  0, 67,135},
{  0, 67,135},
{  0, 66,134},
{  0, 65,134},
{  0, 64,133},
{  0, 63,133},
{  0, 63,132},
{  0, 62,132},
{  0, 61,131},
{  0, 60,131},
{  0, 59,130},
{  0, 59,130},
{  0, 58,129},
{  0, 57,129},
{  0, 56,128},
{  0, 55,127}
},
// 7 jet
{
{  0,  0,127},
{  0,  0,131},
{  0,  0,135},
{  0,  0,139},
{  0,  0,143},
{  0,  0,147},
{  0,  0,151},
{  0,  0,155},
{  0,  0,159},
{  0,  0,163},
{  0,  0,167},
{  0,  0,171},
{  0,  0,175},
{  0,  0,179},
{  0,  0,183},
{  0,  0,187},
{  0,  0,191},
{  0,  0,195},
{  0,  0,199},
{  0,  0,203},
{  0,  0,207},
{  0,  0,211},
{  0,  0,215},
{  0,  0,219},
{  0,  0,223},
{  0,  0,227},
{  0,  0,231},
{  0,  0,235},
{  0,  0,239},
{  0,  0,243},
{  0,  0,247},
{  0,  0,251},
{  0,  0,255},
{  0,  4,255},
{  0,  8,255},
{  0, 12,255},
{  0, 16,255},
{  0, 20,255},
{  0, 24,255},
{  0, 28,255},
{  0, 32,255},
{  0, 36,255},
{  0, 40,255},
{  0, 44,255},
{  0, 48,255},
{  0, 52,255},
{  0, 56,255},
{  0, 60,255},
{  0, 64,255},
{  0, 68,255},
{  0, 72,255},
{  0, 76,255},
{  0, 80,255},
{  0, 84,255},
{  0, 88,255},
{  0, 92,255},
{  0, 96,255},
{  0,100,255},
{  0,104,255},
{  0,108,255},
{  0,112,255},
{  0,116,255},
{  0,120,255},
{  0,124,255},
{  0,128,255},
{  0,132,255},
{  0,136,255},
{  0,140,255},
{  0,144,255},
{  0,148,255},
{  0,152,255},
{  0,156,255},
{  0,160,255},
{  0,164,255},
{  0,168,255},
{  0,172,255},
{  0,176,255},
{  0,180,255},
{  0,184,255},
{  0,188,255},
{  0,192,255},
{  0,196,255},
{  0,200,255},
{  0,204,255},
{  0,208,255},
{  0,212,255},
{  0,216,255},
{  0,220,255},
{  0,224,255},
{  0,228,255},
{  0,232,255},
{  0,236,255},
{  0,240,255},
{  0,244,255},
{  0,248,255},
{  0,252,255},
{255,255,254},
{255,255,252},
{255,255,250},
{255,255,248},
{255,255,246},
{255,255,244},
{255,255,242},
{255,255,240},
{255,255,238},
{255,255,236},
{255,255,234},
{255,255,232},
{255,255,230},
{255,255,228},
{255,255,226},
{255,255,224},
{255,255,222},
{255,255,220},
{255,255,218},
{255,255,216},
{255,255,214},
{255,255,212},
{255,255,210},
{255,255,208},
{255,255,206},
{255,255,204},
{255,255,202},
{255,255,200},
{255,255,198},
{255,255,196},
{255,255,194},
{255,255,192},
{255,255,189},
{255,255,187},
{255,255,185},
{255,255,183},
{255,255,181},
{255,255,179},
{255,255,177},
{255,255,175},
{255,255,173},
{255,255,171},
{255,255,169},
{255,255,167},
{255,255,165},
{255,255,163},
{255,255,161},
{255,255,159},
{255,255,157},
{255,255,155},
{255,255,153},
{255,255,151},
{255,255,149},
{255,255,147},
{255,255,145},
{255,255,143},
{255,255,141},
{255,255,139},
{255,255,137},
{255,255,135},
{255,255,133},
{255,255,131},
{255,255,129},
{255,255,127},
{255,252,  0},
{255,248,  0},
{255,244,  0},
{255,240,  0},
{255,236,  0},
{255,232,  0},
{255,228,  0},
{255,224,  0},
{255,220,  0},
{255,216,  0},
{255,212,  0},
{255,208,  0},
{255,204,  0},
{255,200,  0},
{255,196,  0},
{255,192,  0},
{255,188,  0},
{255,184,  0},
{255,180,  0},
{255,176,  0},
{255,172,  0},
{255,168,  0},
{255,164,  0},
{255,160,  0},
{255,156,  0},
{255,152,  0},
{255,148,  0},
{255,144,  0},
{255,140,  0},
{255,136,  0},
{255,132,  0},
{255,128,  0},
{255,124,  0},
{255,120,  0},
{255,116,  0},
{255,112,  0},
{255,108,  0},
{255,104,  0},
{255,100,  0},
{255, 96,  0},
{255, 92,  0},
{255, 88,  0},
{255, 84,  0},
{255, 80,  0},
{255, 76,  0},
{255, 72,  0},
{255, 68,  0},
{255, 64,  0},
{255, 60,  0},
{255, 56,  0},
{255, 52,  0},
{255, 48,  0},
{255, 44,  0},
{255, 40,  0},
{255, 36,  0},
{255, 32,  0},
{255, 28,  0},
{255, 24,  0},
{255, 20,  0},
{255, 16,  0},
{255, 12,  0},
{255,  8,  0},
{255,  4,  0},
{255,  0,  0},
{251,  0,  0},
{247,  0,  0},
{243,  0,  0},
{239,  0,  0},
{235,  0,  0},
{231,  0,  0},
{227,  0,  0},
{223,  0,  0},
{219,  0,  0},
{215,  0,  0},
{211,  0,  0},
{207,  0,  0},
{203,  0,  0},
{199,  0,  0},
{195,  0,  0},
{191,  0,  0},
{187,  0,  0},
{183,  0,  0},
{179,  0,  0},
{175,  0,  0},
{171,  0,  0},
{167,  0,  0},
{163,  0,  0},
{159,  0,  0},
{155,  0,  0},
{151,  0,  0},
{147,  0,  0},
{143,  0,  0},
{139,  0,  0},
{135,  0,  0},
{131,  0,  0},
{127,  0,  0}
},
// 8 jet inv
{
{255,255,128},
{255,255,124},
{255,255,120},
{255,255,116},
{255,255,112},
{255,255,108},
{255,255,104},
{255,255,100},
{255,255, 96},
{255,255, 92},
{255,255, 88},
{255,255, 84},
{255,255, 80},
{255,255, 76},
{255,255, 72},
{255,255, 68},
{255,255, 64},
{255,255, 60},
{255,255, 56},
{255,255, 52},
{255,255, 48},
{255,255, 44},
{255,255, 40},
{255,255, 36},
{255,255, 32},
{255,255, 28},
{255,255, 24},
{255,255, 20},
{255,255, 16},
{255,255, 12},
{255,255,  8},
{255,255,  4},
{255,255,  0},
{255,251,  0},
{255,247,  0},
{255,243,  0},
{255,239,  0},
{255,235,  0},
{255,231,  0},
{255,227,  0},
{255,223,  0},
{255,219,  0},
{255,215,  0},
{255,211,  0},
{255,207,  0},
{255,203,  0},
{255,199,  0},
{255,195,  0},
{255,191,  0},
{255,187,  0},
{255,183,  0},
{255,179,  0},
{255,175,  0},
{255,171,  0},
{255,167,  0},
{255,163,  0},
{255,159,  0},
{255,155,  0},
{255,151,  0},
{255,147,  0},
{255,143,  0},
{255,139,  0},
{255,135,  0},
{255,131,  0},
{255,127,  0},
{255,123,  0},
{255,119,  0},
{255,115,  0},
{255,111,  0},
{255,107,  0},
{255,103,  0},
{255, 99,  0},
{255, 95,  0},
{255, 91,  0},
{255, 87,  0},
{255, 83,  0},
{255, 79,  0},
{255, 75,  0},
{255, 71,  0},
{255, 67,  0},
{255, 63,  0},
{255, 59,  0},
{255, 55,  0},
{255, 51,  0},
{255, 47,  0},
{255, 43,  0},
{255, 39,  0},
{255, 35,  0},
{255, 31,  0},
{255, 27,  0},
{255, 23,  0},
{255, 19,  0},
{255, 15,  0},
{255, 11,  0},
{255,  7,  0},
{255,  3,  0},
{  0,  0,  1},
{  0,  0,  3},
{  0,  0,  5},
{  0,  0,  7},
{  0,  0,  9},
{  0,  0, 11},
{  0,  0, 13},
{  0,  0, 15},
{  0,  0, 17},
{  0,  0, 19},
{  0,  0, 21},
{  0,  0, 23},
{  0,  0, 25},
{  0,  0, 27},
{  0,  0, 29},
{  0,  0, 31},
{  0,  0, 33},
{  0,  0, 35},
{  0,  0, 37},
{  0,  0, 39},
{  0,  0, 41},
{  0,  0, 43},
{  0,  0, 45},
{  0,  0, 47},
{  0,  0, 49},
{  0,  0, 51},
{  0,  0, 53},
{  0,  0, 55},
{  0,  0, 57},
{  0,  0, 59},
{  0,  0, 61},
{  0,  0, 63},
{  0,  0, 66},
{  0,  0, 68},
{  0,  0, 70},
{  0,  0, 72},
{  0,  0, 74},
{  0,  0, 76},
{  0,  0, 78},
{  0,  0, 80},
{  0,  0, 82},
{  0,  0, 84},
{  0,  0, 86},
{  0,  0, 88},
{  0,  0, 90},
{  0,  0, 92},
{  0,  0, 94},
{  0,  0, 96},
{  0,  0, 98},
{  0,  0,100},
{  0,  0,102},
{  0,  0,104},
{  0,  0,106},
{  0,  0,108},
{  0,  0,110},
{  0,  0,112},
{  0,  0,114},
{  0,  0,116},
{  0,  0,118},
{  0,  0,120},
{  0,  0,122},
{  0,  0,124},
{  0,  0,126},
{  0,  0,128},
{  0,  3,255},
{  0,  7,255},
{  0, 11,255},
{  0, 15,255},
{  0, 19,255},
{  0, 23,255},
{  0, 27,255},
{  0, 31,255},
{  0, 35,255},
{  0, 39,255},
{  0, 43,255},
{  0, 47,255},
{  0, 51,255},
{  0, 55,255},
{  0, 59,255},
{  0, 63,255},
{  0, 67,255},
{  0, 71,255},
{  0, 75,255},
{  0, 79,255},
{  0, 83,255},
{  0, 87,255},
{  0, 91,255},
{  0, 95,255},
{  0, 99,255},
{  0,103,255},
{  0,107,255},
{  0,111,255},
{  0,115,255},
{  0,119,255},
{  0,123,255},
{  0,127,255},
{  0,131,255},
{  0,135,255},
{  0,139,255},
{  0,143,255},
{  0,147,255},
{  0,151,255},
{  0,155,255},
{  0,159,255},
{  0,163,255},
{  0,167,255},
{  0,171,255},
{  0,175,255},
{  0,179,255},
{  0,183,255},
{  0,187,255},
{  0,191,255},
{  0,195,255},
{  0,199,255},
{  0,203,255},
{  0,207,255},
{  0,211,255},
{  0,215,255},
{  0,219,255},
{  0,223,255},
{  0,227,255},
{  0,231,255},
{  0,235,255},
{  0,239,255},
{  0,243,255},
{  0,247,255},
{  0,251,255},
{  0,255,255},
{  4,255,255},
{  8,255,255},
{ 12,255,255},
{ 16,255,255},
{ 20,255,255},
{ 24,255,255},
{ 28,255,255},
{ 32,255,255},
{ 36,255,255},
{ 40,255,255},
{ 44,255,255},
{ 48,255,255},
{ 52,255,255},
{ 56,255,255},
{ 60,255,255},
{ 64,255,255},
{ 68,255,255},
{ 72,255,255},
{ 76,255,255},
{ 80,255,255},
{ 84,255,255},
{ 88,255,255},
{ 92,255,255},
{ 96,255,255},
{100,255,255},
{104,255,255},
{108,255,255},
{112,255,255},
{116,255,255},
{120,255,255},
{124,255,255},
{128,255,255}
},
// 9 wysiwyg
{
{ 0,  0, 0},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0, 64},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{ 64,  0,192},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0, 64,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,128,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{  0,160,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,192,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,224,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,255},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255,192},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{ 64,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{128,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{192,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,255, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,224, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255,160, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 96, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 32, 64},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255, 96,192},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,160,255},
{255,224,253},
{255,224,250},
{255,224,248},
{255,224,246},
{255,224,243},
{255,224,241},
{255,224,239},
{255,224,236},
{255,224,234},
{255,224,232},
{255,224,229},
{255,224,227},
{255,224,225}
},
// 10 wysiwyg inv
{
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255,191},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{191,255, 63},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,191,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255,127,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{255, 95,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 63,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191, 31,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0,  0},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0, 63},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{191,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{127,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{ 63,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0,  0,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 31,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0, 95,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,159,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,223,191},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0,159, 63},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 95,  0},
{  0, 31,  2},
{  0, 31,  5},
{  0, 31,  7},
{  0, 31,  9},
{  0, 31, 12},
{  0, 31, 14},
{  0, 31, 16},
{  0, 31, 19},
{  0, 31, 21},
{  0, 31, 23},
{  0, 31, 26},
{  0, 31, 28},
{  0, 31, 30}
}
};
#endif
